package com.backstage.mapper;

import com.backstage.pojo.entity.SysDictionary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SysDictionaryMapper extends BaseMapper<SysDictionary> {
    @Select("select code,type_name,name from sys_dictionary")
    List<SysDictionary> findAll();
}
